import Vue from 'vue'
import Router from 'vue-router'
import VHome from '@/page/home.vue'
import Vtest from '@/page/signup.vue'
import Vautumn from './../activity/autumn-sale/autumn.vue'
import Vdragdrop from './../activity/dragdrop/dragdrop.vue'
import Vproduct from './../product/view.vue'
import Vcart from './../cart/cart.vue'
//dragdrop
Vue.use(Router)

export default new Router({
    mode: 'history',
    routes: [{
        path: '/',
        name: 'VHome',
        component: VHome
    },
    {
        path: '/test',
        name: 'Vtest',
        component: Vtest 
    },
    {
        path: '/autumn',
        name: 'Vautumn',
        component: Vautumn 
    },
    {
        path: '/dragdrop',
        name: 'Vdragdrop',
        component: Vdragdrop 
    },
    {
        path: '/product',
        name: 'Vproduct',
        component: Vproduct
    },
    {
        path: '/cart',
        name: 'Vcart',
        component: Vcart
    }
    ]
})
